package com.aaa.tars.util;

/**
 * @FileName: ResultStatus
 * @Description:
 * @Author: 李宗盛
 * @CreateTime: 2025/8/22 10:09
 * @Version: 17
 */
public enum ResultStatus {
    SUCCESS(200,"操作成功"),
    ERROR(500,"操作失败"), PARAM_ISNULL, ARGUMENT_ERROR;
    private  Integer statusCode;
    private  String statusMessage;

    ResultStatus() {
    }

    ResultStatus(Integer statusCode, String statusMessage) {
        this.statusCode = statusCode;
        this.statusMessage = statusMessage;
    }

    public Integer getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(Integer statusCode) {
        this.statusCode = statusCode;
    }

    public String getStatusMessage() {
        return statusMessage;
    }

    public void setStatusMessage(String statusMessage) {
        this.statusMessage = statusMessage;
    }
}
